package com.unittec.drainage.sdk.auth.enums;

import lombok.Getter;

/**
 * @author: trace
 * @date: 2019-06-11.
 * @Description:
 * @Email: tracenet@126.com
 */
@Getter
public enum StatusEnum {

    /**
     * 启用
     */
    ENABLE(0, "启用"),
    /**
     * 禁用
     */
    DISABLE(1, "禁用");

    private final String message;
    private final Integer code;

    StatusEnum(final Integer code, final String message) {
        this.code = code;
        this.message = message;
    }

    public String getName() {
        return this.name();
    }
}
